package com.cxs.plan.service;

import com.cxs.plan.VO.FilterUserVO;
import com.cxs.plan.DTO.UserDTO;
import com.cxs.plan.VO.UserVO;
import com.cxs.plan.domain.entity.User;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
* @author 11756
* @description 针对表【user(用户信息)】的数据库操作Service
* @createDate 2024-03-03 16:31:38
*/
public interface UserService extends IService<User> {

    String loginUser(String username, String password);

    List<User> getUserList();

    void updateUser(UserDTO user);

    void saveUser(UserDTO user);

    UserDTO getUserById(Integer id);

    void delUserById(Integer id);

    UserVO getUserInfo();

    List<FilterUserVO> selectUserListByName(String name);
}
